package com.life.smile.entity;

import java.util.Date;

/**
 * 设备记录表
 * @author zhangjiangsong  create 2017-07-14
 * 记录乘客端与司机端不同设备登录时的记录
 *
 */
public class EquipmentRecord {

	private String id;//主键id
	private String equipmentId;//设备id（标识）
	private String userName;//手机号
	private String flag;//是否有效 0无效 1 有效
	private Integer state;//状态 0无效 1 有效
	private Date loginTime;//登录时间
	private Date updateTime;//更新时间
	private String loginIP;//登陆IP
	private String loginPort;//登陆端口
	private String loginMAC;//登陆Mac地址
	private String loginIMEI;//登陆设备IMEI
	private String loginIMSI;//登陆设备imsi
	private String loginLongitude;//登陆经度
	private String loginLatitude;//登陆纬度
	private String loginType;//登陆类型：1乘客，2司机
	private String registrationId;//jpush注册有的id
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getEquipmentId() {
		return equipmentId;
	}
	public void setEquipmentId(String equipmentId) {
		this.equipmentId = equipmentId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public Date getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getLoginIP() {
		return loginIP;
	}
	public void setLoginIP(String loginIP) {
		this.loginIP = loginIP;
	}
	public String getLoginPort() {
		return loginPort;
	}
	public void setLoginPort(String loginPort) {
		this.loginPort = loginPort;
	}
	public String getLoginMAC() {
		return loginMAC;
	}
	public void setLoginMAC(String loginMAC) {
		this.loginMAC = loginMAC;
	}
	public String getLoginIMEI() {
		return loginIMEI;
	}
	public void setLoginIMEI(String loginIMEI) {
		this.loginIMEI = loginIMEI;
	}
	public String getLoginIMSI() {
		return loginIMSI;
	}
	public void setLoginIMSI(String loginIMSI) {
		this.loginIMSI = loginIMSI;
	}
	public String getLoginLongitude() {
		return loginLongitude;
	}
	public void setLoginLongitude(String loginLongitude) {
		this.loginLongitude = loginLongitude;
	}
	public String getLoginLatitude() {
		return loginLatitude;
	}
	public void setLoginLatitude(String loginLatitude) {
		this.loginLatitude = loginLatitude;
	}
	public String getLoginType() {
		return loginType;
	}
	public void setLoginType(String loginType) {
		this.loginType = loginType;
	}
	public String getRegistrationId() {
		return registrationId;
	}
	public void setRegistrationId(String registrationId) {
		this.registrationId = registrationId;
	}
	
}
